package cn.sxt.seata.entity;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: --
 * @author：Bing
 * @date：2021/4/19 15:32
 * @version：1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Account implements Serializable {
    /**
    * id
    */
    private Long id;

    /**
    * 用户id
    */
    private Long userId;

    /**
    * 总额度
    */
    private Long total;

    /**
    * 已用余额
    */
    private Long used;

    /**
    * 剩余可用额度
    */
    private Long residue;

    private static final long serialVersionUID = 1L;
}